A Multithreaded Java Framework for Solving Linear Elliptic Partial Differential Equations in 3D
نویسنده
چکیده
Our research in theoretical biophysics [6] recently required us to solve a variant of the Poisson equation, which is a linear elliptic partial differential equation (PDE) in 3D. Ultimately, we want to make our method available as a applet, so we decided to implement a PDE solver in Java. Another reason for using Java was its promise of easy, portable multithreaded programming, because support for multithreading is built into Java. On a Symmetric Multi-Processor (SMP) this offers the opportunity to painlessly achieve parallel execution, which might be important for the numerically intensive (though certainly not excessive) task of solving a PDE. The Java framework described here allows the solution of any linear elliptic PDE on a regular cubic domain in 3D. To this end it employs the Full Multigrid (FMG) algorithm [3, 1, 7], which is the most efficient general-purpose algorithm widely used for this problem domain. The framework is easily extensible in every aspect of the PDE algorithm and was designed with interactive Java applets in mind. The framework is implemented in the 1.1 release of Java.
منابع مشابه
A numerical method for solving nonlinear partial differential equations based on Sinc-Galerkin method
In this paper, we consider two dimensional nonlinear elliptic equations of the form $ -{rm div}(a(u,nabla u)) = f $. Then, in order to solve these equations on rectangular domains, we propose a numerical method based on Sinc-Galerkin method. Finally, the presented method is tested on some examples. Numerical results show the accuracy and reliability of the proposed method.
متن کاملNew variants of the global Krylov type methods for linear systems with multiple right-hand sides arising in elliptic PDEs
In this paper, we present new variants of global bi-conjugate gradient (Gl-BiCG) and global bi-conjugate residual (Gl-BiCR) methods for solving nonsymmetric linear systems with multiple right-hand sides. These methods are based on global oblique projections of the initial residual onto a matrix Krylov subspace. It is shown that these new algorithms converge faster and more smoothly than the Gl-...
متن کاملSolving high-order partial differential equations in unbounded domains by means of double exponential second kind Chebyshev approximation
In this paper, a collocation method for solving high-order linear partial differential equations (PDEs) with variable coefficients under more general form of conditions is presented. This method is based on the approximation of the truncated double exponential second kind Chebyshev (ESC) series. The definition of the partial derivative is presented and derived as new operational matrices of der...
متن کاملExact solutions of a linear fractional partial differential equation via characteristics method
In recent years, many methods have been studied for solving differential equations of fractional order, such as Lie group method, invariant subspace method and numerical methods, cite{6,5,7,8}. Among this, the method of characteristics is an efficient and practical method for solving linear fractional differential equations (FDEs) of multi-order. In this paper we apply this method f...
متن کاملA numerical method for solving a class of distributed order time-fractional diffusion partial differential equations according to Caputo-Prabhakar fractional derivative
In this paper, a time-fractional diffusion equation of distributed order including the Caputo-Prabhakar fractional derivative is studied. We use a numerical method based on the linear B-spline interpolation and finite difference method to study the solutions of these types of fractional equations. Finally, some numerical examples are presented for the performance and accuracy of the proposed nu...
متن کامل